package com.hyd.Controller;

import com.hyd.annotation.Controller;
import com.hyd.annotation.RequestMapping;

@Controller
@RequestMapping("hyd")
public class HydController {
    @RequestMapping
    public  String index(){
        System.out.println("RequestMapping为“hyd, ”的方法已执行");
        return "";
    }
    @RequestMapping("hyd2")
    public  String index1(){
        System.out.println("RequestMapping为“hyd,hyd2”的方法已执行");
        return "";
    }
}